package com.nifostasky.entity;


import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.IdType;
import java.io.Serializable;
import java.util.Date;

import lombok.Data;

/**
 * 角色(SysRole)表实体类
 *
 * @author makejava
 * @since 2022-03-18 14:14:27
 */
@Data
@TableName(value = "sys_role")
public class SysRole implements Serializable{

    private static final long serialVersionUID = 1L;

    @TableId(value = "role_id", type = IdType.AUTO)
    private Long roleId;


    /**
    *角色名称
    */
    @TableField(value = "role_name")
    private String roleName;

    /**
    *备注
    */
    @TableField(value = "remark")
    private String remark;

    /**
    *创建者ID
    */
    @TableField(value = "create_user_id")
    private Long createUserId;

    /**
    *创建时间
    */
    @TableField(value = "create_time")
    private Date createTime;

}
